package com.maiji.cloud.entities.community;

import com.baomidou.mybatisplus.annotations.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Document;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "com_report")
public class ComReport {

    @TableId
    @Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId; //uuid

    @Column(name = "source_user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String sourceUserId; //举报人

    @Column(name = "msg_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String msgId; // 举报动态

    @Column(name = "report_time", type = MySqlTypeConstant.BIGINT)
    private Long reportTime;//举报时间戳

    @Column(name = "report_reason",type = MySqlTypeConstant.VARCHAR,length = 20)
    private String reportReason; //举报原因
}
